//
//  memberViewController.m
//  pe_score
//
//  Created by zwz on 16/6/26.
//  Copyright © 2016年 zhangwz. All rights reserved.
//

#import "memberViewController.h"
#import "memberModel.h"

@interface memberViewController ()
@property(nonatomic,copy)NSArray * mydataarray;

@end

@implementation memberViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self getData];
    [self creatView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(void)getData
{
    //得到数据到         mydataarray
}

-(void)creatView
{
    memberModel *model=_mydataarray;
    self.memberName.text=model.memberName;
    self.memberNum.text=model.memberNum;
    self.memberAge.text=model.memberAge;
    self.teamName.text=model.teamName;
    self.place.text=model.memberPlace;
    self.height.text=model.memberHeight;
    self.weight.text=model.memberWeight;
    self.memberScore=model.memberScore;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
